#!/usr/bin/python
import time
import os
from git.repo import Repo

repo = Repo("/site", search_parent_directories=True)
git = repo.git
while True:
    print("git pull new version loveIt")
    git.pull()
    time.sleep(30)

